﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="NHEntity" namespace="NHEntity">
  <class name="UserRoleEntity" table="UserRole" lazy="true">
    <composite-id class="NHEntity.PK.PKUserRole" name="IdUserRole" unsaved-value="none">
      <key-many-to-one name="IdUser" column="IdUser" class="NHEntity.UserEntity"/>      
      <key-many-to-one name="IdRole" column="IdRole" class="NHEntity.RoleEntity"/>      
    </composite-id>    
  </class>
</hibernate-mapping>